﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using T.FAS.Runtime.Base.Entity;

namespace T.FAS.Runtime.Expression.Entity
{
    /// <summary>
    /// 表达式项参数
    /// </summary>
    [DataContract]
    public class ExprFuncItemParam 
    {
        /// <summary>
        /// 主键
        /// </summary>
        [DataMember]
        public string ID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [DataMember]
        public string Name { get; set; }
        /// <summary>
        /// 标识
        /// </summary>
        [DataMember]
        public string Code { get; set; }
        /// <summary>
        /// 数据类型
        /// </summary>
        [DataMember]
        public DataType DataType { get; set; }
        /// <summary>
        /// 是否可以为空
        /// </summary>
        [DataMember]
        public int IsEmpty { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int SortOrder { get; set; }
        /// <summary>
        /// 默认值
        /// </summary>
        [DataMember]
        public object DefaultValue { get; set; }
        /// <summary>
        /// 表达式项ID
        /// </summary>
        public string ExprItemID { get; set; }
        /// <summary>
        /// 扩展属性
        /// </summary>
        [DataMember]
        public object ExprExt { get; set; }
    }
}
